mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 24 Feb 2024 07:54:59 +0000 (08:54 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Sat, 24 Feb 2024 07:54:59 +0000 (08:54 +0100)
commit0e1631df0840aaabd115c6aa2cceca591b74ffb2
treec5a05006634c7fb90f1b8c961f5886e55922ea18
parent3fb12ec5c4afc8d0ebf4f11ad052630e05864852
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h